<include file="public@header" />
<link rel="stylesheet" type="text/css" href="__STATIC__/layui/css/layui.css">
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('manufacturer/index')}">厂家列表</a></li>
			<li class="active"><a>编辑厂家</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20 layui-form" action="{:url('manufacturer/edit')}">
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required">*</span>厂家名称
				</label>
				<div class="col-md-3 col-sm-10">
					<input type="text" class="form-control" name="name" value="{$row.name}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required">*</span>账号
				</label>
				<div class="col-md-3 col-sm-10">
					<input type="text" class="form-control" name="account" value="{$row.account}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required">*</span>密码
				</label>
				<div class="col-md-3 col-sm-10">
					<input type="text" class="form-control" name="password">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required"></span>电话
				</label>
				<div class="col-md-3 col-sm-10">
					<input type="text" class="form-control" name="telephone" value="{$row.telephone}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required"></span>地址
				</label>
				<div class="col-md-3 col-sm-10">
					<input type="text" class="form-control" name="address" value="{$row.address}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required"></span>收款单位名称
				</label>
				<div class="col-md-3 col-sm-10">
					<input type="text" class="form-control" name="payment_name" value="{$row.payment_name}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required"></span>收款开户银行
				</label>
				<div class="col-md-3 col-sm-10">
					<input type="text" class="form-control" name="payment_bank" value="{$row.payment_bank}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required"></span>收款银行账号
				</label>
				<div class="col-md-3 col-sm-10">
					<input type="text" class="form-control" name="payment_account" value="{$row.payment_account}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required"></span>发票抬头
				</label>
				<div class="col-md-3 col-sm-10">
					<input type="text" class="form-control" name="invoicing_name" value="{$row.invoicing_name}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required"></span>纳税人识别号
				</label>
				<div class="col-md-3 col-sm-10">
					<input type="text" class="form-control" name="invoicing_number" value="{$row.invoicing_number}">
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<input type="hidden" name="id" value="{$row.id}">
					<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>